package com.zh.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @TableName team_user
 */
@TableName(value ="team_user")
@Data
@ApiModel(value = "团队成员表")
public class TeamUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("唯一id")
    private Integer id;
    @ApiModelProperty("团队id")
    private Integer teamId;
    @ApiModelProperty("团队成员id")
    private Integer userId;
    @ApiModelProperty("团队成员角色0 成员 1 管理员 2超级管理员")
    private Integer role;
}